import {ipcMain} from 'electron'

ipcMain.on('message',async (event,data)=>{
    console.log('消息：',data)
})